<?php

/**
 * 点评模型
 */
class InnReviewsModel extends AutoMapModel {

    protected $tableName = 'pinglun';
    protected $patchValidate = true;
    
    public $_map = array(
        'rv_id'         => 'pinglun0', //ID
        'order_num'     => 'pinglun1', //订单号
        'product_id'    => 'pinglun2', //产品id号
        'menu_id'       => 'pinglun3', //MenuId 604
        'msg_name'      => 'pinglun4', //姓名
        'msg_tour'      => 'pinglun5', //对梦之旅的点评
        'msg_inn'       => 'pinglun6', //对酒店的点评
        'msg_name_show' => 'pinglun7', //是否显示姓名
        'msg_time'      => 'pinglun8', //添加时间
        'score_tese'    => 'pinglun9', //特色
        'score_place'   => 'pinglun10', //位置
        'score_interest'=> 'pinglun11', //趣味
        'score_clean'   => 'pinglun12', //清洁
        'score_staff'   => 'pinglun13', //员工
        'score_security'=> 'pinglun14', //安全
        'msg_from'      => 'pinglun15', //来自地区
        'msg_uid'       => 'pinglun16', //会员id
    );
}

?>